package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 关数设置
 * </p>
 *
 * @author hpiggy
 * @since 2025-08-06
 */
@TableName("skill_shutnum")
@ApiModel(value = "SkillShutnum对象", description = "关数设置")
@Data
public class SkillShutnum implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("岗位id")
    private Long stationsId;

    @ApiModelProperty("项目id")
    private Long itemsId;

    @ApiModelProperty("关数")
    private Integer num;

    private String name;

    @ApiModelProperty("1正常，0关闭")
    private Integer status;

    @ApiModelProperty("年级")
    private Integer yearClassId;

    @ApiModelProperty("添加人id")
    private Long createdId;

    @ApiModelProperty("科目")
    private Long subjectsId;

    private Integer deleted;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(exist = false)
    @ApiModelProperty("0没内容  1有内容")
    private Integer isContent;


}
